enum WarehouseMonitorCurveType {
  humidity,
  temperature,
  ;

  String get name {
    switch (this) {
      case WarehouseMonitorCurveType.humidity:
        return '湿度';
      case WarehouseMonitorCurveType.temperature:
        return '温度';
    }
  }
}

enum WarehouseMonitorCurveTimeType {
  week,
  month,
  year,
  ;

  String get name {
    switch (this) {
      case WarehouseMonitorCurveTimeType.week:
        return '周';
      case WarehouseMonitorCurveTimeType.month:
        return '月';
      case WarehouseMonitorCurveTimeType.year:
        return '年';
    }
  }
}